package com.yc.cloud.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 杨智杰
 * @since 2021/8/17 15:14
 */
@Data
@Accessors(chain = true)
@TableName("sys_user_department")
public class SysUserDepartment {

    @TableField("user_id")
    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @TableField("dept_id")
    @ApiModelProperty(value = "部门Id")
    private Long deptId;
}
